#include<iostream>
#include<Windows.h>
using namespace std;
int main() {
	long long head, tail, freq;
	int n=1048576;
	
	int* a = new int[n];
	int sum = 0;
	int sum1 = 0;
	int sum2 = 0;
	for (int i = 0; i < n; i++) {
		a[i]=1;
	}
	QueryPerformanceFrequency((LARGE_INTEGER*)&freq);
	QueryPerformanceCounter((LARGE_INTEGER*)&head);
	for (int i = 0; i < n; i += 2) {
		sum1 += a[i];
		if (i + 1 < n) {
			sum2 += a[i + 1];
		}
	
	}
	sum = sum1 + sum2;
	cout << sum;
	QueryPerformanceCounter((LARGE_INTEGER*)&tail);
	cout << "Col:" << (tail - head) * 1000.0 / freq << "ms" << endl;
	return 0;
}